/*
 * @Author: dfh
 * @Date: 2024-10-17 16:11:16
 * @LastEditors: dfh
 * @Modified By: dfh
 * @describe:
 */
import { defineConfig } from "unocss";
import presetAttributify from "@unocss/preset-attributify";
import presetUno from "@unocss/preset-uno";
import transformerDirectives from "@unocss/transformer-directives";
import presetIcons from "@unocss/preset-icons";
export default defineConfig({
  presets: [presetUno(), presetAttributify(), presetIcons()],
  transformers: [transformerDirectives()],
  shortcuts: [
    //快捷类名
    [
      "icon",
      "inline-block w-1em h-1em align-middle text-center overflow-hidden"
    ]
  ]
});
